//package com.ly.mpayment.persist.service.includes;
//
//import java.io.Serializable;
//import java.util.List;
//
//import org.springframework.stereotype.Service;
//
//import com.ly.mpayment.core.util.StringUtils;
//import com.ly.mpayment.persist.entity.IncludesProduct;
//import com.ly.mpayment.persist.service.AbstractService;
//
//@Service
//public class IncludesProductServiceImpl extends AbstractService<IncludesProduct, Serializable> implements IIncludesProductService {
//
//	@Override
//	public boolean addIncludes(IncludesProduct product) {
//		if(product != null){
//			this.saveOrUpdate(product);
//			return true;
//		}
//		return false;
//	}
//
//	@Override
//	public boolean updateIncludes(IncludesProduct product) {
//		if(product != null){
//			this.saveOrUpdate(product);
//			return true;
//		}
//		return false;
//	}
//
//	@Override
//	public List<IncludesProduct> findDownOrderMatch(String downOrderUuid) {
//		return this.find("select i from IncludesProduct i where i.downRechargeFlow.downorderuuid = ?", downOrderUuid);
//	}
//
//	@Override
//	public boolean deleteIncludesProduct(String matchinguuid) {
//		if(!StringUtils.isBlank(matchinguuid)){
//			this.deleteHql("delete from IncludesProduct where matchingStrategy.matchinguuid = '"+matchinguuid+"'");
//			return true;
//		}
//		return false;
//	}
//
//}
